package com.itheima.jobs;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 任务调度类
 */

@Component("myJob")
public class MyJob {

    public void run(){
        System.out.println("任务调度方法执行了..."+new Date());
    }

}
